package com.ytjj.qmyx.mall.mapper;


import com.ytjj.common.model.YxAlipayConfig;
import com.ytjj.qmyx.mall.model.PayConfig;
import org.apache.ibatis.annotations.Param;

public interface PayConfigDao {
    PayConfig findOnePayConfig(@Param("company") String company, @Param("type")String type, @Param("tradeType")String tradeType);

    YxAlipayConfig findAliPayByState();

    YxAlipayConfig findAliPayById(Integer id);

    YxAlipayConfig findAliPayByAccount(String account);

    YxAlipayConfig findAliPayIdByWeight();

    void updateAlipayStateById(Integer id);
}
